package com.deng.leaf.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ImportResource;

@MapperScan("com.deng.leaf.core.segment.mapper")
@ImportResource(locations={"classpath:applicationContext.xml"}) //加载配置文件
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class LeafServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(LeafServerApplication.class, args);
	}
}
